package com.shenglue.ssi.dao;

import java.util.List;

// import com.shenglue.ssi.domain.BuyInMain;
import com.shenglue.ssi.domain.Warehouse;

public interface WarehouseDao {

	/**
	 * 查询所有经销商信息
	 */
	public List<Warehouse> selectAllWarehouse();

	/**
	 * 增加经销商记录
	 */
	public boolean saveWarehouse(Warehouse warehouse);

	/**
	 * 删除经销商记录
	 */
	public boolean deleteWarehouse(int warehouseId);

	/**
	 * 修改经销商记录
	 */
	public boolean updateWarehouse(Warehouse warehouse);

	/**
	 * 为修改，根据 Id 查一条 入库单主表记录
	 */
	public Warehouse getOneWarehouseForUpdate( int warehouseId );	
}
